\documentclass[tikz,border=2mm]{standalone}
\usepackage{array,amsmath,mathptmx,xcolor,pifont,fontspec,xunicode-addon}
\usepackage{bbding}
\usepackage[UTF8]{ctex}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\usepackage{tikz-cd}
\usepackage{tikz,graphicx,subfig,caption} % Required for drawing custom shapes
\usetikzlibrary{fit,matrix,chains,arrows,shapes,positioning,arrows.meta,chains,shadows,shapes.callouts,decorations.text,shapes.symbols,shapes.misc, positioning,decorations.pathreplacing,calc,backgrounds,}

\definecolor{lightpink}{RGB}{255, 202, 203}
\definecolor{lightgreen}{RGB}{204, 255, 204}
\definecolor{lightgreen1}{RGB}{163, 196, 163}
% 额外添加
\usepackage{indentfirst}
\usepackage{diagbox}
\usepackage{pifont}


\begin{document}
	\begin{tikzpicture}[>=latex,every node/.style={anchor=south west,,inner sep=0}]
		
		\node(I0)[align=center] at (0,0){\textcircled{\footnotesize{0}}};
		\node(I1)[align=left] at ([xshift=3em, yshift=-0.05em]I0.south){\ding{172}\_};
		
		\node(I2)[align=left] at ([xshift=3em, yshift=-2em]I0.south){\ding{173}};
		\node(I3)[align=left] at ([xshift=3em, yshift=-0.4em]I2.east){\ding{174}};
		\node(I4)[align=left] at ([xshift=3em, yshift=-0.4em]I3.east){\ding{175}};
		\node(I5) at ([xshift=3em, yshift=-0.4em]I4.east){\ding{176}\_};
		
		\node(I6) at ([xshift=2em, yshift=-2.5em]I3.east){\ding{177}};
		\node(I7) at ([xshift=3em, yshift=-0.45em]I6.east){\ding{178}\_};
		
		\node(I8) at ([xshift=1em, yshift=1.4em]I3.east){\ding{179}\_};
		
		\node(I9) at ([xshift=3em, yshift=-4.5em]I2.east){\ding{180}};
		\node(I10) at ([xshift=3em, yshift=-0.45em]I9.east){\ding{181}\_};
		
		\node(I11) at ([xshift=5em, yshift=-6em]I2.east){\textcircled{\footnotesize{11}}\_};
		
		%连接线
		\draw[->] (I0.east) -- node[above]{Z}(I1.west);
		\draw[->] (I0.south) |- (I2.west);
		\draw[->] (I2.east) -- node[above]{B}(I3.west);
		\draw[->] (I3.east) -- node[above]{A}(I4.west);
		\draw[->] (I4.east) -- node[above]{d}(I5.west);
		\draw[->] (I3.south) |- (I6.west);
		\draw[->] (I6.east) -- node[above]{c}(I7.west);
		\draw[->] (I2.south) |- (I9.west);
		\draw[->] (I9.east) -- node[above]{B}(I10.west);
		\draw[->] (I2.south) |- (I11.west);
		\draw[->] (I3.east) -- (I8.west);
		\draw[->] (I9.east) -- (I11.west);
		\path
		(I9) edge [loop above] node{b} ();
		
		% 额外的数据
		\node(+) at ([xshift=-1em,yshift=-0.5em]I0.south){\small{+}};
		\node(OK) at ([xshift=-0.5em,yshift=0em]I1.east){\small{OK}};
		\node(a) at ([xshift=-1.5em,yshift=0em]I2.west){\small{a}};
		\node(c) at ([xshift=0.5em,yshift=0.5em]I3.east){\small{c}};
		\node(c1) at ([xshift=0.8em,yshift=-0.85em]I9.east){\small{c}};
		\node(r3) at ([xshift=-0.3em,yshift=0em]I8.east){\small{r(3)}};
		\node(r1) at ([xshift=-0.3em,yshift=0em]I5.east){\small{r(1)}};
		\node(r2) at ([xshift=-0.3em,yshift=0em]I7.east){\small{r(2)}};
		\node(b1) at ([xshift=-1.5em,yshift=0em]I6.west){\small{b}};
		\node(b2) at ([xshift=-1.5em,yshift=0em]I9.west){\small{b}};
		\node(c) at ([xshift=-3.5em,yshift=0em]I11.west){\small{c}};
		\node(r4) at ([xshift=-0.3em,yshift=0em]I10.east){\small{r(4)}};
		\node(r5) at ([xshift=-0.3em,yshift=0em]I11.east){\small{r(5)}};
		
		\node [align=left] (I0-1) at ([xshift=-5em,yshift=1em]I0.west) {\footnotesize{Z$'\rightarrow \cdot$Z} \\
			\footnotesize{Z$\rightarrow \cdot$aBAd}}; 
		\node [align=left] (I1-1) at ([xshift=0em,yshift=2em]I1.west) {\footnotesize{Z$'\rightarrow$z$\cdot$}};
		\node [align=left] (I8-1) at ([xshift=0em,yshift=2em]I8.west) {\footnotesize{A$\rightarrow$c}};
		\node [align=left] (I4-1) at ([xshift=4em,yshift=5em]I4.west) {\footnotesize{Z$'\rightarrow$aBA$\cdot$}};
		\node [align=left] (I5-1) at ([xshift=2.5em,yshift=1.5em]I5.west) {\footnotesize{Z$'\rightarrow$aBAd$\cdot$}};
		\node [align=left] (I2-1) at ([xshift=-8em,yshift=-2em]I2.west) {\footnotesize{Z$\rightarrow$a$\cdot$BAd} \\ \footnotesize{B$\rightarrow \cdot$bB} \\ \footnotesize{B$\rightarrow \cdot$c}};
		\node [align=left] (I3-1) at ([xshift=-7.8em,yshift=-4.5em]I3.west) {\footnotesize{Z$\rightarrow$aB$\cdot$Ad} \\ \footnotesize{A$\rightarrow \cdot$bc} \\ \footnotesize{A$\rightarrow \cdot$c}};
		\node [align=left] (I9-1) at ([xshift=-12em,yshift=-3em]I9.west) {\footnotesize{B$\rightarrow$b$\cdot$B} \\ \footnotesize{B$\rightarrow \cdot$bB} \\ \footnotesize{B$\rightarrow \cdot$c}};
		\node [align=left] (I6-1) at ([xshift=9em,yshift=1.8em]I6.west) {\footnotesize{A$'\rightarrow$b$\cdot$c}};
		\node [align=left] (I7-1) at ([xshift=6em,yshift=0em]I7.west) {\footnotesize{A$'\rightarrow$bc$\cdot$}};
		\node [align=left] (I10-1) at ([xshift=5em,yshift=-0em]I10.west) {\footnotesize{B$'\rightarrow$bB$\cdot$}};
		\node [align=left] (I11-1) at ([xshift=5em,yshift=-0em]I11.west) {\footnotesize{B$'\rightarrow$c$\cdot$}};
		
		
		\node (p0) at ([xshift=-1em,yshift=-1em]I0-1.west) {\color{red}$I_0$};
		\node (p1) at ([xshift=-1em,yshift=-1em]I1-1.west) {\color{red}$I_1$};
		\node (p2) at ([xshift=-1em,yshift=-1em]I2-1.west) {\color{red}$I_2$};
		\node (p3) at ([xshift=-1em,yshift=-1em]I3-1.west) {\color{red}$I_3$};
		\node (p9) at ([xshift=-1em,yshift=-1em]I9-1.west) {\color{red}$I_9$};
		
		\node (p8) at ([xshift=0.5em,yshift=-1em]I8-1.east) {\color{red}$I_8$};
		\node (p4) at ([xshift=0.5em,yshift=-1em]I4-1.east) {\color{red}$I_4$};
		\node (p5) at ([xshift=0.5em,yshift=-1em]I5-1.east) {\color{red}$I_5$};
		\node (p6) at ([xshift=0.5em,yshift=-1em]I6-1.east) {\color{red}$I_6$};
		\node (p7) at ([xshift=0.5em,yshift=-1em]I7-1.east) {\color{red}$I_7$};
		\node (p10) at ([xshift=0.5em,yshift=-1em]I10-1.east) {\color{red}$I_{10}$};
		\node (p11) at ([xshift=0.5em,yshift=-1em]I11-1.east) {\color{red}$I_{11}$};
		
		\draw[-] [draw=lightgreen1]  ([xshift=0.4em]I0-1.east) -- (I0.west);
		\draw[-] [draw=lightgreen1]  ([xshift=0.4em]I2-1.east) -- (I2.west);
		\draw[-] [draw=lightgreen1]  ([xshift=0.4em]I3-1.east) -- (I3.west);
		\draw[-] [draw=lightgreen1]  ([xshift=0.4em]I9-1.east) -- (I9.west);
		\draw[-] [draw=lightgreen1]  ([xshift=-0.35em]I1-1.west) -- ([xshift=-0.3em]I1.north);
		\draw[-] [draw=lightgreen1]  ([xshift=-0.35em]I8-1.west) -- ([xshift=-0.3em]I8.north);
		\draw[-] [draw=lightgreen1]  ([xshift=-0.4em]I4-1.west) -- (I4.east);
		\draw[-] [draw=lightgreen1]  ([xshift=-0.4em]I5-1.west) -- ([xshift=-0.8em]I5.east);
		\draw[-] [draw=lightgreen1]  ([xshift=-0.4em]I6-1.west) -- (I6.east);
		\draw[-] [draw=lightgreen1]  ([xshift=-0.4em]I7-1.west) -- ([xshift=-0.8em]I7.east);
		\draw[-] [draw=lightgreen1]  ([xshift=-0.4em]I10-1.west) -- ([xshift=-0.8em]I10.east);
		\draw[-] [draw=lightgreen1]  ([xshift=-0.4em]I11-1.west) -- ([xshift=-0.8em]I11.east);
		
		
		
		\begin{pgfonlayer}{background}
			\node [draw, fill=lightpink,fit=(I0)(I1)(I2)(I3)(I4)(I5)(I6)(I7)(I8)(I9)(I10)(I11)(r1)(r2)(r3)(+),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I0-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I1-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I2-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I3-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I4-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I5-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I6-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I7-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I8-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I9-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I10-1),inner sep=0.3em] {};
			\node [draw, fill=lightgreen,fit=(I11-1),inner sep=0.3em] {};
			
		\end{pgfonlayer}
		
		
		
	\end{tikzpicture}
\end{document}